/**
 * @Title: audit_router.js
 * @Description:稽核管理router
 * Copyright: Copyright (c) 2014 
 * Company:中国平安
 *
 * @Project MHIS-FWA
 * @author EX-FENGHE001
 * @date 2014年11月06日 下午11:17:06
 * @version V1.0
 */
;
(function(){
	'use strict';
	
	var app = angular.module('fwa.routers');
	app.config(['BaseURL','Config', function(baseUrl,Config){
		
		var states = Config.states;
		    
        /**********************************
         *************稽核管理**************
         **********************************
         ******事件管理：problemManagement
         ******事件登记：problemRegister
         ******事件审核：problemCheck
         ******事件调查：problemResearch
         ******调查审核：researchCheck
         ******案件稽核：caseAudit
         ******稽核审核：caseCheck
         ******结论审批：conclusionApprovement
         ******事件查询：problemSearch
         ******案件查询：caseSearch
         ******稽核结果处理：auditFeedback
         **********************************
		 **********************************/
        
        /**
		 * 二级菜单
		 * 事件登记problemRegister(经办岗)
		 */
		states.push({
			name:'problemRegister',
            url:'/problemRegister',
            data:{
            	title:'事件登记',
            	tabRoot:'problemRegister',
            	auth:'problemRegister'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'problemRegister@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'problemRegister')
                        {
                            $state.go('problemRegister.problemRegisterList');
                        }
                    }
                }
            }
		});
        states.push({
			name:'problemRegister.problemRegisterList',
            url:'/problemRegisterList',
            data:{
            	title:'事件登记',
            	tabRoot:'problemRegister',
            	auth:'problemRegister.problemRegisterList'
            },
            views:{
                '@problemRegister':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemRegister/problemRegister_list.html',
                    controller:'ProblemRegisterCtrl'
                }
            }
		});
        states.push({
        	name:'problemRegister.problemFirstCheck',
        	url:'/problemFirstCheck/{problemCode}',
        	data:{
        		title:'事件登记',
        		tabRoot:'problemRegister',
        		auth:'problemRegister.problemFirstCheck'
        	},
        	deepStateRedirect: true,
        	sticky: true,
        	views:{
        		'problemRegister@':{
        			templateUrl:baseUrl+'views/hcpms/audit/problemCheck/caseAduitDealProblemMain.html',
        			controller:'AuditProblemCheckCtrl'
        		}
        	}
        });
        states.push({//事件登记---添加事件
			name:'problemRegister.addProblemInfo',
            url:'/addProblemInfo/{problemCode}',
            data:{
            	title:'事件登记',
            	tabRoot:'problemRegister',
            	auth:'problemRegister.addProblemInfo'
            },
            views:{
                '@problemRegister':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemRegister/addProblemInfo_edit.html',
                    controller:'CaseAuditAddCtrl'
                }
            }
		});
        states.push({//事件登记---添加事件
        	name:'problemRegister.problemInfoView',
        	url:'/addProblemInfo/problemInfoView/{problemCode}/{problemStatus}',
        	data:{
        		title:'添加事件',
        		tabRoot:'problemRegister',
        		auth:'problemRegister.problemInfoView'
        	},
        	views:{
        		'@problemRegister':{
        			templateUrl:baseUrl+'views/hcpms/audit/problemRegister/addProblemInfo_view.html',
        			controller:'CaseAuditAddCtrl'
        		}
        	}
        });
		
        
        
        
        
        
		/**
		 * 事件调查problemResearch(经办岗)
		 * 二级菜单
		 */
        states.push({
			name:'problemResearch',
            url:'/problemResearch',
            data:{
            	title:'事件调查',
            	tabRoot:'problemResearch',
            	auth:'problemResearch'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'problemResearch@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'problemResearch') {
                            $state.go('problemResearch.problemResearchList');
                        }
                    }
                }
            }
		});
        states.push({
        	name:'problemResearch.problemResearchList',
        	url:'/problemResearchList',
        	data:{
        		title:'事件调查',
        		tabRoot:'problemResearch',
        		auth:'problemResearch.problemResearchList'
        	},
        	views:{
        		'@problemResearch':{
        			templateUrl:baseUrl+'views/hcpms/audit/problemResearch/problemResearch_list.html',
        			controller:'ProblemResearchListCtrl'
        		}
        	}
        });
        states.push({//调查结果录入页面
            name:'problemResearch.auditDispatchResult',
            url:'/auditDispatchResult/{problemNo}/{urlFlag}',
            data:{
                title:'事件调查',
                tabRoot:'problemResearch',
                auth:'problemResearch.auditDispatchResult'
            },
            views:{
                '@problemResearch':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemResearch/caseAduitDispathAddsurResult_view.html',
                    controller:'CaseAuditDispathAddResultCtrl'
                }
            }
        });
        states.push({//调查结果复核页面
            name:'problemResearch.auditDispatchReviewResult',
            url:'/auditDispatchReviewResult/{problemNo}/{urlFlag}',
            data:{
                title:'事件调查',
                tabRoot:'problemResearch',
                auth:'problemResearch.auditDispatchReviewResult'
            },
            views:{
                '@problemResearch':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemResearch/caseAduitDispathAddsurResult_view.html',
                    controller:'CaseAuditDispathReviewResultCtrl'
                }
            }
        });
        states.push({//调查结果撤回页面
            name:'problemResearch.auditCancel',
            url:'/auditCancel/{problemNo}/{problemStatus}',
            data:{
                title:'事件调查',
                tabRoot:'problemResearch',
                auth:'problemResearch.auditCancel'
            },
            views:{
                '@problemResearch':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemResearch/auditCance_view.html',
                    controller:'AuditCanceCtrl'
                }
            }
        });
        states.push({//经办岗调查结果详情页面
            name:'problemResearch.auditDispatchReviewDetailResult',
            url:'/auditDispatchReviewDetailResult/{problemNo}',
            data:{
                title:'事件调查',
                tabRoot:'problemResearch',
                auth:'problemResearch.auditDispatchReviewDetailResult'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                '@problemResearch':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemResearch/caseAduitDispathReviewDetailsurResult_view.html',
                    controller:'CaseAuditDispathReviewDetailResultCtrl'
                }
            }
        });
        states.push({//经办岗调查结果详情页面
            name:'problemResearch.auditDispatchDetailResult',
            url:'/auditDispatchDetailResult/{problemNo}',
            data:{
                title:'录入调查结果',
                tabRoot:'problemResearch',
                auth:'problemResearch.auditDispatchDetailResult'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                '@problemResearch':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemResearch/caseAduitDispathReviewDetailsurResult_view.html',
                    controller:'CaseAuditDispathDetailResultCtrl'
                }
            }
        });
        states.push({//稽核管理-事件返回(调查)
            name:'problemResearch.auditBackDispatchAddResult',
            url:'/auditBackDispatchAddResult/{problemNo}/{urlFlag}',
            data:{
                title:'事件调查',
                tabRoot:'problemResearch',
                auth:'problemResearch.auditBackDispatchAddResult'
            },
            views:{
                '@problemResearch':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemResearch/caseAduitDispathAddsurResult_view.html',
                    controller:'BackCaseAuditDispathAddResultCtrl'
                }
            }
        });
        states.push({//稽核管理-事件返回(复核)
            name:'problemResearch.auditBackDispatchReviewResult',
            url:'/auditBackDispatchReviewResult/{problemNo}/{urlFlag}',
            data:{
                title:'事件调查',
                tabRoot:'problemResearch',
                auth:'problemResearch.auditBackDispatchReviewResult'
            },
            views:{
                '@problemResearch':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemResearch/caseAduitDispathAddsurResult_view.html',
                    controller:'BackCaseAuditDispathReviewResultCtrl'
                }
            }
        });
        

        
        
        /**
		 * 二级菜单
		 * 事件管理problemManagement(审核岗)
		 */
		states.push({
			name:'problemManagement',
            url:'/problemManagement',
            data:{
            	title:'事件管理',
            	tabRoot:'problemManagement',
            	auth:'problemManagement'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'problemManagement@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'problemManagement') {
                            $state.go('problemManagement.problemManagementList');
                        }
                    }
                }
            }
		});
        states.push({
			name:'problemManagement.problemManagementList',
            url:'/problemManagementList',
            data:{
            	title:'事件管理',
            	tabRoot:'problemManagement',
            	auth:'problemManagement.problemManagementList'
            },
            views:{
                '@problemManagement':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemManagement/problemManagement_list.html',
                    controller:'ProblemManagementListCtrl'
                }
            }
		});
        states.push({//第一次分配：其他模块或系统流入的事件的分配
			name:'problemManagement.auditDispatch',
	        url:'/auditDispatch/{problemNo}',
	        data:{
	        	title:'审核岗位分配',
	        	tabRoot:'problemManagement',
	        	auth:'problemManagement.auditDispatch'
	        },
	        views:{
	            '@problemManagement':{
	            	templateUrl:baseUrl+'views/hcpms/audit/problemManagement/caseAduitDispath_view.html',
	            	controller:'CaseAuditDispathCtrl'
	            }
	        }
		});
        
        
        
        
        
        
        /**
         * 事件审核{原事件管理菜单中，“事件审核”和“调查审核”}
         * 二级菜单
         */
        states.push({
			name:'problemCheck',
            url:'/problemCheck',
            data:{
            	title:'事件审核',
            	tabRoot:'problemCheck',
            	auth:'problemCheck'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'problemCheck@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'problemCheck') {
                            $state.go('problemCheck.problemCheckList');
                        }
                    }
                }
            }
		});
        states.push({
			name:'problemCheck.problemCheckList',
            url:'/problemCheckList',
            data:{
            	title:'事件审核',
            	tabRoot:'problemCheck',
            	auth:'problemCheck.problemCheckList'
            },
            views:{
                '@problemCheck':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemCheck/problemCheck_list.html',//公用事件管理的页面
                    controller:'ProblemCheckListCtrl'
                }
            }
		});
        states.push({//第二次分配：事件审核
			name:'problemCheck.auditFindDispatch',
            url:'/auditFindDispatch/{problemNo}/{urlFlag}',
            data:{
            	title:'事件审核',
            	tabRoot:'problemCheck',
            	auth:'problemCheck.auditFindDispatch'
            },
            views:{
                '@problemCheck':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemCheck/caseAduitFindDispath_view.html',
	            	controller:'CaseAuditFindDispathCtrl'
                }
            }
		});
      
        
        
        
        /**
         * 调查审核(审核岗)
         * 二级菜单
         */
        states.push({
			name:'researchCheck',
            url:'/researchCheck',
            data:{
            	title:'调查审核',
            	tabRoot:'researchCheck',
            	auth:'researchCheck'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'researchCheck@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'researchCheck') {
                            $state.go('researchCheck.researchCheckList');
                        }
                    }
                }
            }
		});
        states.push({
			name:'researchCheck.researchCheckList',
            url:'/researchCheckList',
            data:{
            	title:'调查审核',
            	tabRoot:'researchCheck',
            	auth:'researchCheck.researchCheckList'
            },
            views:{
                '@researchCheck':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemCheck/problemCheck_list.html',//共用事件审核页面
                    controller:'ResearchCheckListCtrl'
                }
            }
		});
        states.push({//第三次分配：调查结论审核
			name:'researchCheck.researchConclusionCheck',
            url:'/researchConclusionCheck/{problemNo}/{urlFlag}',
            data:{
            	title:'调查审核',
            	tabRoot:'researchCheck',
            	auth:'researchCheck.researchConclusionCheck'
            },
            views:{
                '@researchCheck':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemCheck/caseReviewResultSurvey_view.html',
	            	controller:'CaseReviewResultSurvey'
                }
            }
		});
        
        
        
        
		/**
		 * 结论审批(审批岗)
		 * 二级菜单
		 */
        states.push({
			name:'conclusionApprovement',
            url:'/conclusionApprovement',
            data:{
            	title:'结论审批',
            	tabRoot:'conclusionApprovement',
            	auth:'conclusionApprovement'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'conclusionApprovement@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'conclusionApprovement') {
                            $state.go('conclusionApprovement.conclusionApprovementListCtrl');
                        }
                    }
                }
            }
		});
        states.push({
			name:'conclusionApprovement.conclusionApprovementListCtrl',
            url:'/conclusionApprovementListCtrl',
            data:{
            	title:'结论审批',
            	tabRoot:'conclusionApprovement',
            	auth:'conclusionApprovement.conclusionApprovementListCtrl'
            },
            views:{
                '@conclusionApprovement':{
                	templateUrl:baseUrl+'views/hcpms/audit/conclusionApprovement/conclusionApprovement_list.html',
                    controller:'ConclusionApprovementListCtrl'
                }
            }
		});

		 /**
         * 稽核管理- 结论审批(审批岗)
         */
        states.push({
        	name:'conclusionApprovement.caseAuditApprovement',
        	url:'/caseAuditApprovement/{caseCode}/{problemCode}/{urlFlag}',
        	data:{
        		title:'结论审批',
        		tabRoot:'conclusionApprovement',
        		auth:'conclusionApprovement.caseAuditApprovement'
        	},
        	views:{
        		'@conclusionApprovement':{
        			templateUrl:baseUrl+'views/hcpms/audit/conclusionApprovement/caseAduitApprovement.html',
        			controller:'ConclusionApprovementCtrl'
        		}
        	}
        });
		
		
        
        
        /////////////////////////////////////////////////////////////////////////////////////////////////案件稽核 begin
        /**
         * 案件稽核(经办岗)
         * 二级菜单
         */
        states.push({
			name:'caseAudit',
            url:'/caseAudit',
            data:{
            	title:'案件稽核',
            	tabRoot:'caseAudit',
            	auth:'caseAudit'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'caseAudit@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'caseAudit') {
                            $state.go('caseAudit.caseAuditList');
                        }
                    }
                }
            }
		});
        states.push({
			name:'caseAudit.caseAuditList',
            url:'/caseAuditList',
            data:{
            	title:'案件稽核',
            	tabRoot:'caseAudit',
            	auth:'caseAudit.caseAuditList'
            },
            views:{
                '@caseAudit':{
                	templateUrl:baseUrl+'views/hcpms/audit/caseAudit_list.html',
                    controller:'CaseAuditListCtrl'
                }
            }
		});
        states.push({//新增案件稽核
			name:'caseAudit.caseAuditAdd',
	        url:'/caseAudit/caseAuditAdd',
	        data:{
	        	title:'案件稽核',
	        	tabRoot:'caseAudit',
	        	auth:'caseAudit.caseAuditAdd'
	        },
	        deepStateRedirect: true,
	        sticky: true,
	        views:{
	            'caseAudit@':{
	            	templateUrl:baseUrl+'views/hcpms/audit/problemRegister/caseAuditAdd_view.html',
	            	controller:'CaseAuditAddCtrl'
	            }
	        }
		});
        states.push({
            name:'caseAudit.caseAuditDetail',
            url:'/caseAuditDetail/{problemCode}',
            data:{
                title:'案件稽核',
                tabRoot:'caseAudit',
                auth:'caseAudit.caseAuditDetail'
            },
            views:{
                'caseAudit@':{
                    templateUrl:baseUrl+'views/hcpms/audit/caseAuditAdd_view.html',
                    controller:'CaseAuditAddCtrl'
                }
            }
        });
        states.push({//经办岗位案件稽核录入
            name:'caseAudit.caseAuditProject',
            url:'/caseAuditProject/{caseCode}/{problemNo}/{urlFlag}',
            data:{
                title:'案件稽核',
                tabRoot:'caseAudit',
                auth:'caseAudit.caseAuditProject'
            },
            views:{
                '@caseAudit':{
                    templateUrl:baseUrl+'views/hcpms/audit/caseAduitProjectAdd.html',
                    controller:'CaseAduitProjectAddCtrl'
                }
            }
        });
        states.push({//经办岗位案件稽核录入（退回）
            name:'caseAudit.caseAuditBackProject',
            url:'/caseAuditBackProject/{caseCode}/{problemNo}/{urlFlag}',
            data:{
                title:'案件稽核',
                tabRoot:'caseAudit',
                auth:'caseAudit.caseAuditBackProject'
            },
            views:{
                '@caseAudit':{
                    templateUrl:baseUrl+'views/hcpms/audit/caseAduitProjectAdd.html',
                    controller:'BackCaseAduitProjectAddCtrl'
                }
            }
        });
        states.push({//经办岗位案件稽核复核
            name:'caseAudit.caseReviewProject',
            url:'/caseReviewProject/{caseCode}/{problemNo}/{urlFlag}',
            data:{
                title:'案件稽核',
                tabRoot:'caseAudit',
                auth:'caseAudit.caseReviewProject'
            },
            views:{
                '@caseAudit':{
                    templateUrl:baseUrl+'views/hcpms/audit/caseReviewProject.html',
                    controller:'CaseReviewProjectCtrl'
                }
            }
        });
        states.push({//经办岗位案件稽核复核（退回）
            name:'caseAudit.caseReviewBackProject',
            url:'/caseReviewBackProject/{caseCode}/{problemNo}/{urlFlag}',
            data:{
                title:'案件稽核',
                tabRoot:'caseAudit',
                auth:'caseAudit.caseReviewBackProject'
            },
            views:{
                '@caseAudit':{
                    templateUrl:baseUrl+'views/hcpms/audit/caseReviewProject.html',
                    controller:'BackCaseReviewProjectCtrl'
                }
            }
        });
        states.push({//案件稽核添加页面
            name:'pointsMedical',
            url:'/pointsMedical/{id,problemNo}',
            data:{
                title:'信用记录',
                tabRoot:'pointsMedical',
                auth:'pointsMedical'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'pointsMedical@':{
                    templateUrl:baseUrl+'views/hcpms/audit/pointsMedical_list_view.html',
                    controller:'pointsMedicalListCtrl'
                }
            }
        });
        /////////////////////////////////////////////////////////////////////////////////////////////////案件稽核 end
        
        
        
        
        
        
        
        /**
         * 案件审核（审核岗）
         */
        states.push({
			name:'caseCheck',
            url:'/caseCheck',
            data:{
            	title:'稽核审核',
            	tabRoot:'caseCheck',
            	auth:'caseCheck'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'caseCheck@':{
                	template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                        if($state.current.name == 'caseCheck') {
                            $state.go('caseCheck.caseCheckList');
                        }
                    }
                }
            }
		});
        states.push({
			name:'caseCheck.caseCheckList',
            url:'/caseCheckList',
            data:{
            	title:'稽核审核',
            	tabRoot:'caseCheck',
            	auth:'caseCheck.caseCheckList'
            },
            views:{
                '@caseCheck':{
                	templateUrl:baseUrl+'views/hcpms/audit/caseCheck/caseCheck_list.html',
                    controller:'CaseCheckListCtrl'
                }
            }
		});
        states.push({
			name:'caseCheck.caseCheckProcessList',
            url:'/caseCheckProcessList/{caseCode}/{problemCode}/{urlFlag}',
            data:{
            	title:'稽核审核',
            	tabRoot:'caseCheck',
            	auth:'caseCheck.caseCheckProcessList'
            },
            views:{
                '@caseCheck':{
                	templateUrl:baseUrl+'views/hcpms/audit/caseCheck/caseCheckProcess_list.html',
                    controller:'CaseCheckProcessCtrl'
                }
            }
		});
        
        
        
        
        
        
        /**
         * 事件查询
         * 二级菜单
         */
        states.push({
			name:'problemSearch',
            url:'/problemSearch',
        	deepStateRedirect: true,
        	sticky: true,
            data:{
            	title:'事件查询',
            	tabRoot:'problemSearch',
            	auth:'problemSearch'
            },
            views:{
                'problemSearch@':{
                	templateUrl:baseUrl+'views/hcpms/audit/problemSearch/problemSearch_list.html',
                    controller:'ProblemSearchListCtrl'
                }
            }
		});
        states.push({//事件查询
        	name:'problemDetailView',
        	url:'/problemDetailView',
        	data:{
        		title:'事件查看',
        		tabRoot:'problemDetailView',
        		auth:'problemDetailView'
        	},
        	deepStateRedirect: true,
        	sticky: true,
        	views:{
        		'problemDetailView@':{
        			template:'<div class="full-width full-height" ui-view></div>',
        			controller:function($state){
                    }
        		}
        	}
        });
        states.push({//事件查询
            name:'problemDetailView.detail',
            url:'/detail/{problemCode}/{problemStatus}',
            data:{
                title:'事件查看',
                tabRoot:'problemDetailView',
                auth:'problemDetailView.detail'
            },
            views:{
                '@problemDetailView':{
                    templateUrl:baseUrl+'views/hcpms/audit/problemSearch/problemDetail_view.html',
                    controller:'ProblemSearchDetailCtrl'
                }
            }
        });
        
        
        



        /**
         * 案件查询
         */
        states.push({
        	name:'caseSearch',
        	url:'/caseSearch',
        	data:{
        		title:'案件查询',
        		tabRoot:'caseSearch',
        		auth:'caseSearch'
        	},
        	deepStateRedirect: true,
        	sticky: true,
        	views:{
        		'caseSearch@':{
        			templateUrl:baseUrl+'views/hcpms/audit/caseSearch/caseSearch_list.html',
        			controller:'CaseSearchListCtrl'
        		}
        	}
        });
        states.push({//案件查询-查看
        	name:'caseDetailView',
        	url:'/caseDetailView',
        	data:{
        		title:'案件查看',
        		tabRoot:'caseDetailView',
        		auth:'caseDetailView'
        	},
            deepStateRedirect: true,
            sticky: true,
            views:{
                'caseDetailView@':{
                    template:'<div class="full-width full-height" ui-view></div>',
                    controller:function($state){
                    }
                }
            }
        });
        states.push({
            name:'caseDetailView.detail',
            url:'/detail/{caseCode}/{problemCode}',
            data:{
                title:'案件查看',
                tabRoot:'caseDetailView',
                auth:'caseDetailView.detail'
            },
            views:{
                '@caseDetailView':{
                    templateUrl:baseUrl+'views/hcpms/audit/caseSearch/caseAduitDetail_view.html',
                    controller:'CaseSearchDetailCtrl'
                }
            }
        });
        states.push({//稽核撤回 20150109
            name:'caseAudit.caseAuditCancel',
            url:'/caseAuditProject/{caseCode}/{problemCode}/{backFlag}/{caseStatus}',
            data:{
                title:'案件稽核',
                tabRoot:'caseAudit',
                auth:'caseAudit.caseAuditCancel'
            },
            views:{
                '@caseAudit':{
                	 templateUrl:baseUrl+'views/hcpms/audit/caseSearch/caseAduitDetail_view.html',
                     controller:'CaseSearchDetailCtrl'
                }
            }
        });
        // end
	}]);
})();
